package cn.wolfcode.cms.mapper;

import cn.wolfcode.cms.domain.MemberSpend;

import java.util.List;

public interface MemberSpendMapper {
    int deleteByPrimaryKey(Long id);

    int insert(MemberSpend record);

    MemberSpend selectByPrimaryKey(Long id);

    List<MemberSpend> selectAll();

    int updateByPrimaryKey(MemberSpend record);

    List<MemberSpend> selectMax();

    MemberSpend selectByMemberId(Long id);

    void updateSpendById(MemberSpend memberSpend);

    void updateBalanceById(MemberSpend memberSpend);
}